home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
puppyred_ball_war.swf
/
scripts
/
frame_14
/
PlaceObject2_287_218
/
CLIPACTIONRECORD onClipEvent(load).as
< prev
Wrap
Text File
|
2007-09-26
|
881b
|
30 lines
onClipEvent(load){
function scoreView()
{
trace("score");
var s10 = Math.floor(_root.score / 1000000000);
var s9 = Math.floor(_root.score % 1000000000 / 100000000);
var s8 = Math.floor(_root.score % 100000000 / 10000000);
var s7 = Math.floor(_root.score % 10000000 / 1000000);
var s6 = Math.floor(_root.score % 1000000 / 100000);
var s5 = Math.floor(_root.score % 100000 / 10000);
var s4 = Math.floor(_root.score % 10000 / 1000);
var s3 = Math.floor(_root.score % 1000 / 100);
var s2 = Math.floor(_root.score % 100 / 10);
var s1 = Math.floor(_root.score % 10);
i = 1;
while(i <= 10)
{
this["n" + i].gotoAndStop(eval("s" + i) + 1);
i++;
}
}
i = 1;
while(i <= 10)
{
this["n" + i].stop();
i++;
}
scoreView();
}